package com.springboot.project.entity;

/**
 * @author liupenghui
 * @date 2018/9/14
 */
public class ExcelTemplate {

    /**
     * 模板ID
     */
    private Integer id;
    /**
     * 报表日期所属sheet
     */
    private String reportDateSheetName;

    /**
     * 区域ID
     */
    private Integer regionId;

    /**
     * 报表日期所属单元格
     */
    private String reportDateCell;

    /**
     * 开始行
     */
    private Integer startRow;
    /**
     * 结束行
     */
    private Integer endRow;
    /**
     * 开始列
     */
    private String startCol;
    /**
     * 结束列
     */
    private String endCol;
    /**
     * 数据形式 0  行固定    1 列固定
     */
    private Integer fixedRow;

    public ExcelTemplate() {
    }

    public ExcelTemplate(Integer id, String reportDateSheetName, Integer regionId, String reportDateCell, Integer startRow, Integer endRow, String startCol, String endCol, Integer fixedRow) {
        this.id = id;
        this.reportDateSheetName = reportDateSheetName;
        this.regionId = regionId;
        this.reportDateCell = reportDateCell;
        this.startRow = startRow;
        this.endRow = endRow;
        this.startCol = startCol;
        this.endCol = endCol;
        this.fixedRow = fixedRow;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getReportDateSheetName() {
        return reportDateSheetName;
    }

    public void setReportDateSheetName(String reportDateSheetName) {
        this.reportDateSheetName = reportDateSheetName;
    }

    public Integer getRegionId() {
        return regionId;
    }

    public void setRegionId(Integer regionId) {
        this.regionId = regionId;
    }

    public String getReportDateCell() {
        return reportDateCell;
    }

    public void setReportDateCell(String reportDateCell) {
        this.reportDateCell = reportDateCell;
    }

    public Integer getStartRow() {
        return startRow;
    }

    public void setStartRow(Integer startRow) {
        this.startRow = startRow;
    }

    public Integer getEndRow() {
        return endRow;
    }

    public void setEndRow(Integer endRow) {
        this.endRow = endRow;
    }

    public String getStartCol() {
        return startCol;
    }

    public void setStartCol(String startCol) {
        this.startCol = startCol;
    }

    public String getEndCol() {
        return endCol;
    }

    public void setEndCol(String endCol) {
        this.endCol = endCol;
    }

    public Integer getFixedRow() {
        return fixedRow;
    }

    public void setFixedRow(Integer fixedRow) {
        this.fixedRow = fixedRow;
    }

    @Override
    public String toString() {
        return "ExcelTemplate{" +
                "id=" + id +
                ", reportDateSheetName='" + reportDateSheetName + '\'' +
                ", regionId=" + regionId +
                ", reportDateCell='" + reportDateCell + '\'' +
                ", startRow=" + startRow +
                ", endRow=" + endRow +
                ", startCol='" + startCol + '\'' +
                ", endCol='" + endCol + '\'' +
                ", fixedRow=" + fixedRow +
                '}';
    }
}
